package com.czhi.dubbo.rest;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
public class RestProviderMain {

    public static void main(String[] args) {
        SpringApplication.run(RestProviderMain.class);
//        new SpringApplicationBuilder(RestProviderMain.class).web(WebApplicationType.NONE).build().run(args);
    }
}
